<template>
	<div class="active">
		<div class="fixed">
			<div class="title flex">
				<div class="title_left">
					<img @click="back" src="../assets/image/return.png"/>
				</div>
				<div class="add">
					设置密码
				</div>
				<div>
				</div>
			</div>

		</div>
		<div class="lists">
            <div class="top">
			  		<div >
			  			请输入原密码
			  		</div>
			  	</div>
			  	
			  <div class="inp">
			  	<p>密码</p>
			  	<input type="text" placeholder="请输入密码"/>
			  	<span>密码需要6-12字符</span>
			  </div>
			   
			  <div class="btns" @click="skip_new_password">
			  	下一步
			  </div>
             
			</div>
		</div>

	</div>

</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		//在模板渲染成html前调用，即通常初始化某些属性值，然后再渲染成视图
		created: function() {

		},
		methods: {
			back() {
				this.$router.go(-1)
			},
		
		
			skip_new_password(){
				this.$router.push({
					path: '/new_password'
				});
			},
			
		},
		mounted() {

		},
	}
</script>

<style>

</style>
<style scoped="scoped">
	.active {
		
		position: fixed;
		top: 0;
		width: 100%;
		max-width: 640px;
		height: 100%;
	}
	.title_left {
		width: 0.67391rem;
		height: 0.67391rem;
	}
	
	.lists {
		padding: 2rem ;

	}
.title_left>img {
		width: 0.67391rem;
		height: 0.67391rem;
	}
	
	.title {
		width: 90%;
		padding: 0 5% 0 5%;
		height: 2rem;
		font-size: 0.7193rem;
		background: white;
		align-items: center;
	}
	
	.title div {
		width: calc(100%/3);
		align-items: center;
	}
	
	.title>div:nth-child(2) {
		text-align: center;
	}
	
	.inp{
		padding-top: 2rem ;
	}
	.inp>p{
		color: #D1D5D8;
		font-size: 0.2517rem;
		padding-bottom: 1rem;
	}
	.inp>span{
		font-size: 0.5217rem;
		color: #3E474E;
	}
	.inp>input{
		width: 100%;
		height: 1.5rem;
		border: none;
		color: #3E474E;
		border-bottom: 1px solid gray; 
		font-size: 0.65217rem;
	}
	.btns{
		width: 100%;
		height: 2.1913rem;
		background:#007AFF;
		border-radius: 0.47826rem;
		text-align: center;
		line-height: 2.3913rem;
		color: white;
		font-size: 0.7826rem;
		margin-top: 6rem;
	}

	.top{

		font-size: 0.91304rem;
		
	}
	.top>div:nth-child(2){
		font-size: 0.60869rem;
		color: #D1D5D8;
		padding-top: 0.3rem;
		
	}
	
	
</style>